﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BookForm.cls
{
    public delegate void DelegateLogin();
    public delegate void DelegateReplaceList();
    class DelegateFunc
    {
        public static event DelegateLogin LoginEvent;
        public static void OnLogin()
        {
            if (LoginEvent != null)
            {
                LoginEvent();
            }
        }
        public static event DelegateReplaceList ReplaceListEvent;
        public static void OnReplaceList()
        {
            if (ReplaceListEvent != null)
            {
                ReplaceListEvent();
            }
        }
    }
}
